#include "sde.h"
#include <iostream>
#include <ctime>

int main()
{
    std::vector<double> datas = { -10,1,6,12,16,1,-14,-7,-10,24,-6,8,-1,9,-7,-14,-14,5,-1,-1 };
    double d = entropys::sde(datas, 2, 2, 1);
    std::cout << d << '\n';
    for (int i = 0; i < 30000; i++)
        datas.push_back(i);
    time_t t = clock();
    d = entropys::sde(datas, 2, 2, 1);
    t = clock() - t;
    std::cout << d << '\t' << t << " ms\n";
}
